//
//  HomeCategoryView.h
//  DoulinClient
//
//  Created by ypj on 2021/5/28.
//

#import <UIKit/UIKit.h>
#import "QuanXianModel.h"
NS_ASSUME_NONNULL_BEGIN
@class SPCategoryModel;
@interface HomeCategoryView : UIView
@property (weak, nonatomic) IBOutlet UIView *bgVIew;
@property (nonatomic, strong)NSMutableArray * titleArray;//
@property(nonatomic,strong)NSMutableArray   * iconArray;
@property(nonatomic,assign) CGFloat                     collectionViewHeight;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (nonatomic, copy) void(^itemBlk)(NSIndexPath * index);
@property(nonatomic,strong) QuanXianModel  *model;
+ (instancetype)shareInstance;
- (void)setDataAry:(QuanXianModel *)model ;
-(CGFloat)getCollectionViewHeight;
@end

NS_ASSUME_NONNULL_END
